<!DOCTYPE html>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
// This is a regression test for
// https://bugs.chromium.org/p/chromium/issues/detail?id=752177

test(() => {
  String = undefined;
  new ReadableStream();
}, 'Changing the global String object should not affect the ReadableStream' +
    ' constructor');
</script>
